<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Clause: tsl::detail_array_hash::array_bucket&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Clause
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Chatopera Language Understanding Service.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="inherits.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacetsl.html">tsl</a></li><li class="navelem"><b>detail_array_hash</b></li><li class="navelem"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">array_bucket</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-static-attribs">静态 Public 属性</a> &#124;
<a href="classtsl_1_1detail__array__hash_1_1array__bucket-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">tsl::detail_array_hash::array_bucket&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="array__hash_8h_source.html">array_hash.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">array_bucket_iterator</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:aafce6b7e085f1a9436148cc10adf429f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aafce6b7e085f1a9436148cc10adf429f"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>char_type</b> = CharT</td></tr>
<tr class="separator:aafce6b7e085f1a9436148cc10adf429f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f013e8c633ee45c93a889fd6d033da0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f013e8c633ee45c93a889fd6d033da0"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>key_size_type</b> = KeySizeT</td></tr>
<tr class="separator:a8f013e8c633ee45c93a889fd6d033da0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1d5d839a8bfae039a5ac15abda88136"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1d5d839a8bfae039a5ac15abda88136"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>mapped_type</b> = T</td></tr>
<tr class="separator:ab1d5d839a8bfae039a5ac15abda88136"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10c6dc7c6ef9f0655e13faa696ddfa88"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10c6dc7c6ef9f0655e13faa696ddfa88"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>size_type</b> = std::size_t</td></tr>
<tr class="separator:a10c6dc7c6ef9f0655e13faa696ddfa88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a275b5d79781a3cde3762817d8c177d64"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a275b5d79781a3cde3762817d8c177d64"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>key_equal</b> = KeyEqual</td></tr>
<tr class="separator:a275b5d79781a3cde3762817d8c177d64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6523e65758c0baa3028ab29a61c30089"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6523e65758c0baa3028ab29a61c30089"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>iterator</b> = <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">array_bucket_iterator</a>&lt; false &gt;</td></tr>
<tr class="separator:a6523e65758c0baa3028ab29a61c30089"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96401624b72b64aacc96106a77008a79"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a96401624b72b64aacc96106a77008a79"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_iterator</b> = <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">array_bucket_iterator</a>&lt; true &gt;</td></tr>
<tr class="separator:a96401624b72b64aacc96106a77008a79"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a008cf50ec3a5c85d4a70961953ad4d22"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html#a008cf50ec3a5c85d4a70961953ad4d22">array_bucket</a> (std::size_t size)</td></tr>
<tr class="separator:a008cf50ec3a5c85d4a70961953ad4d22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed39e39ed866631516485b3d003d0a85"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed39e39ed866631516485b3d003d0a85"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>array_bucket</b> (const <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">array_bucket</a> &amp;other)</td></tr>
<tr class="separator:aed39e39ed866631516485b3d003d0a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6330308dc9fe8b2bf7e14736d9fa133a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6330308dc9fe8b2bf7e14736d9fa133a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>array_bucket</b> (<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">array_bucket</a> &amp;&amp;other) noexcept</td></tr>
<tr class="separator:a6330308dc9fe8b2bf7e14736d9fa133a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4244abe4bd21569fb5a3f8dad7d6c85a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4244abe4bd21569fb5a3f8dad7d6c85a"></a>
<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">array_bucket</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">array_bucket</a> other) noexcept</td></tr>
<tr class="separator:a4244abe4bd21569fb5a3f8dad7d6c85a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9d2c6f599cbdb44135355c1cda95ec4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9d2c6f599cbdb44135355c1cda95ec4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>swap</b> (<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">array_bucket</a> &amp;other) noexcept</td></tr>
<tr class="separator:ad9d2c6f599cbdb44135355c1cda95ec4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32d3ed1f93058d82791c37b3c2acde41"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32d3ed1f93058d82791c37b3c2acde41"></a>
<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> () noexcept</td></tr>
<tr class="separator:a32d3ed1f93058d82791c37b3c2acde41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a250ea7125fc5836c5b362fe1abf6819f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a250ea7125fc5836c5b362fe1abf6819f"></a>
<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> () noexcept</td></tr>
<tr class="separator:a250ea7125fc5836c5b362fe1abf6819f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6fb2d5190aac15e3d3112ffbc59ff69"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6fb2d5190aac15e3d3112ffbc59ff69"></a>
<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> () const noexcept</td></tr>
<tr class="separator:af6fb2d5190aac15e3d3112ffbc59ff69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a322a408bdfec120db0252b6b00f9f410"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a322a408bdfec120db0252b6b00f9f410"></a>
<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> () const noexcept</td></tr>
<tr class="separator:a322a408bdfec120db0252b6b00f9f410"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abeee185cb9fd20694b55512577a0328b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abeee185cb9fd20694b55512577a0328b"></a>
<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cbegin</b> () const noexcept</td></tr>
<tr class="separator:abeee185cb9fd20694b55512577a0328b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99b88a66fde4c71924ffdd50af536311"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99b88a66fde4c71924ffdd50af536311"></a>
<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cend</b> () const noexcept</td></tr>
<tr class="separator:a99b88a66fde4c71924ffdd50af536311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac068da4f57576ea80812cb56f572560f"><td class="memItemLeft" align="right" valign="top">std::pair&lt; <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html#ac068da4f57576ea80812cb56f572560f">find_or_end_of_bucket</a> (const CharT *key, size_type key_size) const noexcept</td></tr>
<tr class="separator:ac068da4f57576ea80812cb56f572560f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a577d618933326c4c8f0abb807288cd8a"><td class="memTemplParams" colspan="2">template&lt;class... ValueArgs&gt; </td></tr>
<tr class="memitem:a577d618933326c4c8f0abb807288cd8a"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html#a577d618933326c4c8f0abb807288cd8a">append</a> (<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a> end_of_bucket, const CharT *key, size_type key_size, ValueArgs &amp;&amp;...value)</td></tr>
<tr class="separator:a577d618933326c4c8f0abb807288cd8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e747253af0ddaa872d40c5d908da16d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e747253af0ddaa872d40c5d908da16d"></a>
<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>erase</b> (<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a> position) noexcept</td></tr>
<tr class="separator:a0e747253af0ddaa872d40c5d908da16d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4014941dfe19708f518bb76165c2380c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html#a4014941dfe19708f518bb76165c2380c">erase</a> (const CharT *key, size_type key_size) noexcept</td></tr>
<tr class="separator:a4014941dfe19708f518bb76165c2380c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad13ad7298d586b241cdfefea97998be5"><td class="memTemplParams" colspan="2">template&lt;class... ValueArgs&gt; </td></tr>
<tr class="memitem:ad13ad7298d586b241cdfefea97998be5"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html#ad13ad7298d586b241cdfefea97998be5">append_in_reserved_bucket_no_check</a> (const CharT *key, size_type key_size, ValueArgs &amp;&amp;...value) noexcept</td></tr>
<tr class="separator:ad13ad7298d586b241cdfefea97998be5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12ed72a7e5a92b4edfa506a43f5098df"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12ed72a7e5a92b4edfa506a43f5098df"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>empty</b> () const noexcept</td></tr>
<tr class="separator:a12ed72a7e5a92b4edfa506a43f5098df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a61896fa922478d36f1a1bb945377e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a61896fa922478d36f1a1bb945377e1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> () noexcept</td></tr>
<tr class="separator:a1a61896fa922478d36f1a1bb945377e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9836c9086b8a6f2f0793d522d3d97305"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9836c9086b8a6f2f0793d522d3d97305"></a>
<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mutable_iterator</b> (<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a> pos) noexcept</td></tr>
<tr class="separator:a9836c9086b8a6f2f0793d522d3d97305"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6e94b0536fa46d596711f3f27e97329"><td class="memTemplParams" colspan="2"><a class="anchor" id="af6e94b0536fa46d596711f3f27e97329"></a>
template&lt;class Serializer &gt; </td></tr>
<tr class="memitem:af6e94b0536fa46d596711f3f27e97329"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>serialize</b> (Serializer &amp;serializer) const </td></tr>
<tr class="separator:af6e94b0536fa46d596711f3f27e97329"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:af880b0638c2b6bfa4a04486da1c87249"><td class="memTemplParams" colspan="2">template&lt;class U  = T, typename std::enable_if&lt;!has_mapped_type&lt; U &gt;::value &gt;::type *  = nullptr&gt; </td></tr>
<tr class="memitem:af880b0638c2b6bfa4a04486da1c87249"><td class="memTemplItemLeft" align="right" valign="top">static size_type&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html#af880b0638c2b6bfa4a04486da1c87249">entry_required_bytes</a> (size_type key_size) noexcept</td></tr>
<tr class="separator:af880b0638c2b6bfa4a04486da1c87249"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af880b0638c2b6bfa4a04486da1c87249"><td class="memTemplParams" colspan="2"><a class="anchor" id="af880b0638c2b6bfa4a04486da1c87249"></a>
template&lt;class U  = T, typename std::enable_if&lt; has_mapped_type&lt; U &gt;::value &gt;::type *  = nullptr&gt; </td></tr>
<tr class="memitem:af880b0638c2b6bfa4a04486da1c87249"><td class="memTemplItemLeft" align="right" valign="top">static size_type&#160;</td><td class="memTemplItemRight" valign="bottom"><b>entry_required_bytes</b> (size_type key_size) noexcept</td></tr>
<tr class="separator:af880b0638c2b6bfa4a04486da1c87249"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af163bc10508ff6be9d3dfc14cbc421aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af163bc10508ff6be9d3dfc14cbc421aa"></a>
static <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>end_it</b> () noexcept</td></tr>
<tr class="separator:af163bc10508ff6be9d3dfc14cbc421aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6ef860cf083ce2e76fd7ae389f485a8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6ef860cf083ce2e76fd7ae389f485a8"></a>
static <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cend_it</b> () noexcept</td></tr>
<tr class="separator:ab6ef860cf083ce2e76fd7ae389f485a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14d95f32184c8d33c875ca1d27563478"><td class="memTemplParams" colspan="2"><a class="anchor" id="a14d95f32184c8d33c875ca1d27563478"></a>
template&lt;class Deserializer &gt; </td></tr>
<tr class="memitem:a14d95f32184c8d33c875ca1d27563478"><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">array_bucket</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><b>deserialize</b> (Deserializer &amp;deserializer)</td></tr>
<tr class="separator:a14d95f32184c8d33c875ca1d27563478"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
静态 Public 属性</h2></td></tr>
<tr class="memitem:a3dfca8bfc09e5902fc34b356ad54069c"><td class="memItemLeft" align="right" valign="top">static const key_size_type&#160;</td><td class="memItemRight" valign="bottom"><b>MAX_KEY_SIZE</b></td></tr>
<tr class="separator:a3dfca8bfc09e5902fc34b356ad54069c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;class CharT, class T, class KeyEqual, class KeySizeT, bool StoreNullTerminator&gt;<br />
class tsl::detail_array_hash::array_bucket&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt;</h3>

<p>For each string in the bucket, store the size of the string, the chars of the string and T, if it's not void. T should be either void or an unsigned type.</p>
<p>End the buffer with END_OF_BUCKET flag. END_OF_BUCKET has the same type as the string size variable.</p>
<p>m_buffer (CharT*): | size of str1 (KeySizeT) | str1 (const CharT*) | value (T if T != void) | ... | | size of strN (KeySizeT) | strN (const CharT*) | value (T if T != void) | END_OF_BUCKET (KeySizeT) |</p>
<p>m_buffer is null if there is no string in the bucket.</p>
<p>KeySizeT and T are extended to be a multiple of CharT when stored in the buffer.</p>
<p>Use std::malloc and std::free instead of new and delete so we can have access to std::realloc. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a008cf50ec3a5c85d4a70961953ad4d22"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT, class T, class KeyEqual, class KeySizeT, bool StoreNullTerminator&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">tsl::detail_array_hash::array_bucket</a>&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt;::<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">array_bucket</a> </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Reserve 'size' in the buffer of the bucket. The created bucket is empty. </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a577d618933326c4c8f0abb807288cd8a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT, class T, class KeyEqual, class KeySizeT, bool StoreNullTerminator&gt; </div>
<div class="memtemplate">
template&lt;class... ValueArgs&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a> <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">tsl::detail_array_hash::array_bucket</a>&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt;::append </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>&#160;</td>
          <td class="paramname"><em>end_of_bucket</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const CharT *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_type&#160;</td>
          <td class="paramname"><em>key_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ValueArgs &amp;&amp;...&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Append the element 'key' with its potential value at the end of the bucket. 'end_of_bucket' should point past the end of the last element in the bucket, end() if the bucket was not intiailized yet. You usually get this value from find_or_end_of_bucket.</p>
<p>Return the position where the element was actually inserted. </p>

<p><div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classtsl_1_1detail__array__hash_1_1array__bucket_a577d618933326c4c8f0abb807288cd8a_icgraph.png" border="0" usemap="#classtsl_1_1detail__array__hash_1_1array__bucket_a577d618933326c4c8f0abb807288cd8a_icgraph" alt=""/></div>
<map name="classtsl_1_1detail__array__hash_1_1array__bucket_a577d618933326c4c8f0abb807288cd8a_icgraph" id="classtsl_1_1detail__array__hash_1_1array__bucket_a577d618933326c4c8f0abb807288cd8a_icgraph">
<area shape="rect" id="node2" href="classtsl_1_1detail__array__hash_1_1array__hash.html#a38c0aaa4e4ec5ec5a210057ee9329e68" title="tsl::detail_array_hash\l::array_hash\&lt; CharT, void,\l Hash, KeyEqual, StoreNullTerminator,\l KeySizeT, IndexSizeT, GrowthPolicy \&gt;::erase" alt="" coords="223,5,529,76"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad13ad7298d586b241cdfefea97998be5"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT, class T, class KeyEqual, class KeySizeT, bool StoreNullTerminator&gt; </div>
<div class="memtemplate">
template&lt;class... ValueArgs&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">tsl::detail_array_hash::array_bucket</a>&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt;::append_in_reserved_bucket_no_check </td>
          <td>(</td>
          <td class="paramtype">const CharT *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_type&#160;</td>
          <td class="paramname"><em>key_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ValueArgs &amp;&amp;...&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Bucket should be big enough and there is no check to see if the key already exists. No check on key_size. </p>

<p><div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classtsl_1_1detail__array__hash_1_1array__bucket_ad13ad7298d586b241cdfefea97998be5_icgraph.png" border="0" usemap="#classtsl_1_1detail__array__hash_1_1array__bucket_ad13ad7298d586b241cdfefea97998be5_icgraph" alt=""/></div>
<map name="classtsl_1_1detail__array__hash_1_1array__bucket_ad13ad7298d586b241cdfefea97998be5_icgraph" id="classtsl_1_1detail__array__hash_1_1array__bucket_ad13ad7298d586b241cdfefea97998be5_icgraph">
<area shape="rect" id="node2" href="classtsl_1_1detail__array__hash_1_1array__hash.html#a38c0aaa4e4ec5ec5a210057ee9329e68" title="tsl::detail_array_hash\l::array_hash\&lt; CharT, void,\l Hash, KeyEqual, StoreNullTerminator,\l KeySizeT, IndexSizeT, GrowthPolicy \&gt;::erase" alt="" coords="273,5,580,76"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af880b0638c2b6bfa4a04486da1c87249"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT, class T, class KeyEqual, class KeySizeT, bool StoreNullTerminator&gt; </div>
<div class="memtemplate">
template&lt;class U  = T, typename std::enable_if&lt;!has_mapped_type&lt; U &gt;::value &gt;::type *  = nullptr&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static size_type <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">tsl::detail_array_hash::array_bucket</a>&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt;::entry_required_bytes </td>
          <td>(</td>
          <td class="paramtype">size_type&#160;</td>
          <td class="paramname"><em>key_size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return the size required for an entry with a key of size 'key_size'. </p>

</div>
</div>
<a class="anchor" id="a4014941dfe19708f518bb76165c2380c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT, class T, class KeyEqual, class KeySizeT, bool StoreNullTerminator&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">tsl::detail_array_hash::array_bucket</a>&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt;::erase </td>
          <td>(</td>
          <td class="paramtype">const CharT *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_type&#160;</td>
          <td class="paramname"><em>key_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return true if an element has been erased </p>

</div>
</div>
<a class="anchor" id="ac068da4f57576ea80812cb56f572560f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT, class T, class KeyEqual, class KeySizeT, bool StoreNullTerminator&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::pair&lt;<a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket_1_1array__bucket__iterator.html">const_iterator</a>, bool&gt; <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">tsl::detail_array_hash::array_bucket</a>&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt;::find_or_end_of_bucket </td>
          <td>(</td>
          <td class="paramtype">const CharT *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_type&#160;</td>
          <td class="paramname"><em>key_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return an iterator pointing to the key entry if presents or, if not there, to the position past the last element of the bucket. Return end() if the bucket has not be initialized yet.</p>
<p>The boolean of the pair is set to true if the key is there, false otherwise. </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a class="anchor" id="a3dfca8bfc09e5902fc34b356ad54069c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class CharT, class T, class KeyEqual, class KeySizeT, bool StoreNullTerminator&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const key_size_type <a class="el" href="classtsl_1_1detail__array__hash_1_1array__bucket.html">tsl::detail_array_hash::array_bucket</a>&lt; CharT, T, KeyEqual, KeySizeT, StoreNullTerminator &gt;::MAX_KEY_SIZE</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">= </div><div class="line">                    </div><div class="line">                    key_size_type(std::numeric_limits&lt;key_size_type&gt;::max() - KEY_EXTRA_SIZE - 1)</div></div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/hat-trie/include/tsl/array-hash/<a class="el" href="array__hash_8h_source.html">array_hash.h</a></li>
</ul>
</div><!-- contents -->
<address class="footer">
    <small>
        &nbsp; Copyright (c) (2019-2020) &nbsp;<a href="https://www.chatopera.com">
            北京华夏春松科技有限公司
        </a>. All Rights Reserved
        &nbsp;
    </small>
</address>